{include file="public_head"}
{include file="public_menu"}

    <div class="content_shop">
        <div class="title">找到相关店铺 <span>{$count}</span> 家</div>
        <div class="content">
            <div class="shop_left left">
                <div class="shop_left_list"></div>
                {volist name="data" id="item"}
                <div class="shop_details" onclick="jump_shop({$item.member_id})">
                    <div class="left det">
                        <div class="shop">
                            <a href="#"><img src="/{$item.logo}" class="pic left" onerror="this.src='__STATIC__/img/brand.jpg'"></a>
                            <div class="left">
                                <div class="name"><a href="#">{$item.title}</a></div>
                                <div class="address">卖家: <span></span><img src="__STATIC__/img/icon28.png">{$item.Member.username}</div>
                                <div class="address">主营：<span>{$item.ShopType.title}类</span></div>
                            </div>
                        </div>
                        <div class="percent">收藏数{$item.collect_number}   共{$item.goods_count}件宝贝<br></div>
                    </div>
                    <ul class="right">
                        {volist name="item.ShopGoods" id="vo"}
                        <li><a href="#"><img src="/{$vo.thumb_img}" onerror="this.src='__STATIC__/img/tu150.png'"></a></li>
                        {/volist}
                    </ul>
                    <!--<div class="similar"><a href="#">找相似店铺 ></a></div>-->
                </div>
                {/volist}
            </div>
            <div class="pages" style="margin-top: 100px;">{$data->render();}</div>
        </div>
    </div>

<script>
    function jump_shop(id) {
        window.open("{:url('shop/shop/index')}?shop_id="+id);
    }
</script>

{include file="public_foot"}